﻿using Cheems.HMI.ViewModels.Interface;
using Prism.Ioc;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cheems.HMI.ViewModels.UserManagement
{
    public class LoginWindowViewModel : BaseVM
    {
        public LoginWindowViewModel(IRegionManager regionManager, IContainerProvider containerProvider, IAppVM appVM, IUserManagementVM userManagementVM) : base(regionManager, containerProvider)
        {
            this.AppVM = appVM;
            this.UserManagementVM = userManagementVM;
        }


        private IAppVM _appVM;
        public IAppVM AppVM
        {
            get { return _appVM; }
            set { SetProperty(ref _appVM, value); }
        }

        private IUserManagementVM _userManagementVM;
        public IUserManagementVM UserManagementVM
        {
            get { return _userManagementVM; }
            set { SetProperty(ref _userManagementVM, value); }
        }
    }
}
